package org.linlinjava.litemall.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.domain.LumiereMemberWelfareCoupon;
import org.linlinjava.litemall.db.domain.LumiereMemberWelfareCouponExample;

public interface LumiereMemberWelfareCouponMapper {
    long countByExample(LumiereMemberWelfareCouponExample example);

    int deleteByExample(LumiereMemberWelfareCouponExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(LumiereMemberWelfareCoupon record);

    int insertSelective(LumiereMemberWelfareCoupon record);

    LumiereMemberWelfareCoupon selectOneByExample(LumiereMemberWelfareCouponExample example);

    LumiereMemberWelfareCoupon selectOneByExampleSelective(@Param("example") LumiereMemberWelfareCouponExample example, @Param("selective") LumiereMemberWelfareCoupon.Column ... selective);

    List<LumiereMemberWelfareCoupon> selectByExampleSelective(@Param("example") LumiereMemberWelfareCouponExample example, @Param("selective") LumiereMemberWelfareCoupon.Column ... selective);

    List<LumiereMemberWelfareCoupon> selectByExample(LumiereMemberWelfareCouponExample example);

    LumiereMemberWelfareCoupon selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LumiereMemberWelfareCoupon.Column ... selective);

    LumiereMemberWelfareCoupon selectByPrimaryKey(Integer id);

    LumiereMemberWelfareCoupon selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") LumiereMemberWelfareCoupon record, @Param("example") LumiereMemberWelfareCouponExample example);

    int updateByExample(@Param("record") LumiereMemberWelfareCoupon record, @Param("example") LumiereMemberWelfareCouponExample example);

    int updateByPrimaryKeySelective(LumiereMemberWelfareCoupon record);

    int updateByPrimaryKey(LumiereMemberWelfareCoupon record);

    int logicalDeleteByExample(@Param("example") LumiereMemberWelfareCouponExample example);

    int logicalDeleteByPrimaryKey(Integer id);
}